package org.zhu.LamadaInterface.myinteface;

import org.zhu.LamadaInterface.myclass.Person;

/**
 * @author yingzhi zhu
 * date 2017/12/7.
 */
@FunctionalInterface
public interface PersonFactory<P extends Person> {
    P creatPerson(String firstName,String lastName);
}
